package com.orangelife.service.propFeeAmountLog;

import java.util.List;
import java.util.Map;

import com.orangelife.exception.AppBizException;
import com.orangelife.service.propFeeAmountLog.model.PropFeeAmountLogDto;

/*****************************************************************
 * Copyright(C) ORANGELIFE Corporation 2015. All Rights Reserved.
 *****************************************************************/
/*
 * ============================================================== 功能名
 * PropFeeAmountLog类的 service层的增删改查
 * 
 * @author @author
 * 
 * @version 1.1.0
 * 
 * @date 2016-08-22 16:40:45
 * ==============================================================
 */
public interface IPropFeeAmountLogService {

	/**
	 * 用途 添加propFeeAmountLog（橙子生活）
	 * 
	 * @author
	 * @date创建时间 2016-08-22 16:40:45
	 * @param propFeeAmountLog
	 * @return
	 * @throws AppBizException
	 */
	public int addPropFeeAmountLog(PropFeeAmountLogDto propFeeAmountLog)
			throws AppBizException;

	/***
	 * 批量添加
	 * 
	 * @param propFeeAmountLog
	 * @return
	 * @throws AppBizException
	 */
	public int addPropFeeAmountLog(List<PropFeeAmountLogDto> propFeeAmountLog)
			throws AppBizException;

	/**
	 * 用途 修改propFeeAmountLog（橙子生活）
	 * 
	 * @author
	 * @date创建时间 2016-08-22 16:40:45
	 * @param propFeeAmountLog
	 * @return
	 * @throws AppBizException
	 */

	public int editPropFeeAmountLog(PropFeeAmountLogDto propFeeAmountLog)
			throws AppBizException;

	/**
	 * 用途 单个查询 （橙子生活）
	 * 
	 * @author
	 * @date创建时间 2016-08-22 16:40:45
	 * @param propFeeAmountLogID
	 * @return
	 * @throws AppBizException
	 */

	public PropFeeAmountLogDto findPropFeeAmountLogByID(
			String propFeeAmountLogID) throws AppBizException;

	/**
	 * 用途 逻辑删除（橙子生活）
	 * 
	 * @author
	 * @date创建时间 2016-08-22 16:40:45
	 * @param propFeeAmountLogID
	 * @return
	 * @throws AppBizException
	 */
	public int deletePropFeeAmountLogByLogic(String propFeeAmountLogID)
			throws AppBizException;

	/**
	 * 用途 查询列表 （橙子生活）
	 * 
	 * @author
	 * @date 创建时间 2016-08-22 16:40:45
	 * @param search
	 *            搜索内容
	 * @param tsCreate
	 *            创建时间
	 * @param pageNo
	 *            页码
	 * @param pageSize
	 *            页面大小
	 * @return
	 * @throws AppBizExceptionception
	 */
	public List<Map<String, Object>> findPropFeeAmountLogByPage(
			String accountID, String operation, String logType,
			String tsCreate, String search, int pageNo, int pageSize)
			throws AppBizException;

	/**
	 * 用途 查询列表（返回对对象）（橙子生活）
	 * 
	 * @author
	 * @date 创建时间 2016-08-22 16:40:45
	 * @param servletRequest
	 * @param search
	 *            搜索内容
	 * @param tsCreate
	 *            创建时间
	 * @param pageNo
	 *            页码
	 * @param pageSize
	 *            页面大小
	 * @return
	 * @throws AppBizException
	 */
	public List<PropFeeAmountLogDto> getPropFeeAmountLogByPage(String tsCreate,
			String search, int pageNo, int pageSize) throws AppBizException;

	/**
	 * 用途 根据一张表内的所有ID查询propFeeAmountLog（橙子生活）(返回Map<String, Object>)
	 * 
	 * @author
	 * @date 创建时间 2016-08-22 16:40:45
	 * @param logID
	 *            (非必填字段)
	 * 
	 * @param accountID
	 *            (非必填字段)
	 * 
	 * @param logType
	 *            (非必填字段)
	 * 
	 * @param linkID
	 *            (非必填字段)
	 * @return
	 * @throws AppBizException
	 */

	public List<Map<String, Object>> selectPropFeeAmountLogByRelevantID(
			String logID, String accountID, String logType, String linkID)
			throws AppBizException;

	/**
	 * 用途 根据一张表内的所有ID查询propFeeAmountLog（橙子生活）(返回对象)
	 * 
	 * @author
	 * @date 创建时间 2016-08-22 16:40:45
	 * @param logID
	 *            (非必填字段)
	 * 
	 * @param accountID
	 *            (非必填字段)
	 * 
	 * @param logType
	 *            (非必填字段)
	 * 
	 * @param linkID
	 *            (非必填字段)
	 * @return
	 * @throws AppBizException
	 */

	public List<PropFeeAmountLogDto> findPropFeeAmountLogByRelevantID(
			String logID, String accountID, String logType, String linkID)
			throws AppBizException;

	/**
	 * 用途 批量查询propFeeAmountLog（橙子生活）(返回对象)
	 * 
	 * @author
	 * @date 创建时间 2016-08-22 16:40:45
	 * 
	 * @return
	 * @throws AppBizException
	 */

	public List<PropFeeAmountLogDto> bauthfindPropFeeAmountLog(
			List<String> propFeeAmountLogIDs) throws AppBizException;

	/**
	 * 用途 批量查询propFeeAmountLog（橙子生活）(返回Map)
	 * 
	 * @author
	 * @date 创建时间 2016-08-22 16:40:45
	 * 
	 * @return
	 * @throws AppBizException
	 */

	public List<Map<String, Object>> bauthfindPropFeeAmountLogByMap(
			Map<String, Object> propFeeAmountLog) throws AppBizException;

	/**
	 * 用途 清除
	 * 
	 * @author
	 * @date 创建时间 2016-08-22 16:40:45
	 * 
	 * @return
	 * @throws AppBizException
	 */

	public void clearCache() throws AppBizException;

	public List<Map<String, Object>> findPropFeeAmountLogs(String accountID,
			String operation, String logType, String string, String string2,
			int pageIndex, int pageSize) throws AppBizException;

	public List<Map<String, Object>> findPropFeeAmountLogs(String accountID,
			String operation, String logType, String search)
			throws AppBizException;

	List<Map<String, Object>> findPropFeeAmountLogsForExport(String accountID,
			String operation, String logType, String search, String tsCreate,
			int pageNo, int pageSize) throws AppBizException;

}